package org.csmzxy.class2333;
import java.io.FileReader;
import java.io.IOException;

public class Example11 {
    public static void main(String[]args) throws IOException {
        try(
            FileReader reader=new FileReader("src\\file\\test04.txt");
        ){
            int c;
            while ((c=reader.read())!=-1){
                System.out.println((char) c);
            }
        }catch (Exception e){
            e.printStackTrace();
        }
    }
}
